@extends('layouts.app')

@section('content')
    <div class="container">
        <div class="row justify-content-center">
            <h3>
                房间类型介绍
                <small class="text-muted">在这里寻找适合您的房间</small>
            </h3>
        </div>
        @foreach($types as $type)
            <div class="jumbotron">
                <h1 class="display-4">{{ $type->name }}</h1>
                <p class="lead">{{ $type->intro }}</p>
                <hr class="display-4">
                <p>房间价格：￥{{ $type->price->price }} / 天</p>
            </div>
        @endforeach
    </div>
@endsection
